package com.group.model;


/**
 * 龙虎榜
 *
 * @author Zhangyang Hu
 */
public class LongHuBang {

    /**
     * id
     */
    private Long id;

    /**
     * 标记:BTC,ETH等
     */
    private String symbol;

    /**
     * 标记:bitcoin,ethereum等
     */
    private String cid;

    /**
     * 当前以美元计价的价格
     */
    private Double priceUSD;

    /**
     * 当前以人民币计价的价格
     */
    private Double priceCNY;

    /**
     * 以美元计价的总交易金额
     */
    private Double USDAmount;

    /**
     * 涨跌幅
     */
    private Double quoteChange;

    /**
     * 排名
     */
    private Integer rank;

    /**
     * 排名变化，正数表示排名上升，负数表示排名下降，零表示保持不变
     */
    private Integer rankChange;

    /**
     * 交易所名称
     */
    private String exchange;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public Double getUSDAmount() {
        return USDAmount;
    }

    public void setUSDAmount(Double USDAmount) {
        this.USDAmount = USDAmount;
    }

    public Double getQuoteChange() {
        return quoteChange;
    }

    public void setQuoteChange(Double quoteChange) {
        this.quoteChange = quoteChange;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public Double getPriceUSD() {
        return priceUSD;
    }

    public void setPriceUSD(Double priceUSD) {
        this.priceUSD = priceUSD;
    }

    public Double getPriceCNY() {
        return priceCNY;
    }

    public void setPriceCNY(Double priceCNY) {
        this.priceCNY = priceCNY;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getRankChange() {
        return rankChange;
    }

    public void setRankChange(Integer rankChange) {
        this.rankChange = rankChange;
    }

    @Override
    public String toString() {
        return "LongHuBang{" +
                "id=" + id +
                ", symbol='" + symbol + '\'' +
                ", cid='" + cid + '\'' +
                ", priceUSD=" + priceUSD +
                ", priceCNY=" + priceCNY +
                ", USDAmount=" + USDAmount +
                ", quoteChange=" + quoteChange +
                ", rank=" + rank +
                ", rankChange=" + rankChange +
                ", exchange='" + exchange + '\'' +
                '}';
    }

}
